﻿using NewRetail.Application.Components.Goods.Entity;
using NewRetail.Application.Core.Entity;
using System;

namespace NewRetail.Application.Components.Platform.Entity
{
    public class PosSalesFlow : BaseEntity, IWarehouseEntity
    {
        public string flowNo { get; set; }
        public string warehouseID { get; set; }
        public string goodsID { get; set; }
        public string categoryID { get; set; }
        public decimal sourcePrice { get; set; }
        public decimal salePrice { get; set; }
        public decimal saleQuantity { get; set; }
        public decimal saleMoney { get; set; }
        public decimal discountMoney { get; set; }
        public string saleWay { get; set; }
        public string promoteSalesNo { get; set; }
        public string memberID { get; set; }
        public string cashRegisterID { get; set; }
        public string cashierID { get; set; }
        public string cashierName { get; set; }
        public string authorizationCashierID { get; set; }
        public DateTime operateTime { get; set; }

        #region add by cl 20221109
        public decimal gdMoney { get; set; }
        public decimal gapMoney { get; set; }
        #endregion

        public PosCashier PosCashier { get; set; }

        public PosCashRegister PosCashRegister { get; set; }

        public GoodsInfo GoodsInfo { get; set; }

        public GoodsCategory GoodsCategory { get; set; }

        public Warehouse.Entity.Warehouse Warehouse { get; set; }

        public PosMember PosMember { get; set; }
        public Supplier Supplier { get; set; }
    }
}
